package com.ks.common;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;

/**
 * @author : LiuH
 * @date : 2019/8/21 18:10
 * @Version 1.0
 */
public class Global {

	public static ExecutorService executor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors()*2);

	public static final ScheduledExecutorService exec = Executors.newSingleThreadScheduledExecutor();


}
